package br.com.iswe.gwt.crud.server.controller;

import javax.servlet.http.HttpSession;

import org.springframework.security.Authentication;
import org.springframework.security.context.SecurityContext;
import org.springframework.security.providers.UsernamePasswordAuthenticationToken;

import br.com.iswe.gwt.ui.client.SessionInfo;

public interface GwtSecurityController extends GwtMethodController {
	Authentication authenticate(UsernamePasswordAuthenticationToken authReq);
	SessionInfo getSessionInfo(SecurityContext securityContext, HttpSession httpSession);	
}
